<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Action_log extends Model
{
    protected $guarded = [];

    public function action_info(){
        return $this->hasOne('App\Models\Permission', 'name', 'action');
    }
    public function admin(){
        return $this->hasOne('App\Models\Admin','id','admin_id');
    }
}
